import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes=[
    {
    path:'/',
    name:'Home',
    component: ()=>import('../views/Home.vue')
    },

    {
        path:'/Siping',
        name:'Siping',
        component: ()=>import('../views/Siping.vue')
    },

    {
        path:'/User',
        name : 'User',
        component: ()=>import('../views/User.vue')
    },

    {
        path:'/Jiading',
        name : 'Jiading',
        component: ()=>import('../views/Jiading.vue')
    },

    // {
    //     path:'/Hubei',
    //     name : 'Hubei',
    //     component: ()=>import('../views/Hubei.vue')
    // },

    // {
    //     path:'/Huxi',
    //     name : 'Huxi',
    //     component: ()=>import('../views/Huxi.vue')
    // },

    // {
    //     path:'/Dewen',
    //     name : 'Dewen',
    //     component: ()=>import('../views/Dewen.vue')
    // }
]

const router = new VueRouter({
    mode:'history',
    routes
})

export default router
